/**
 * @file         key.h
 * @details      用于声明key.c对外开放的函数
 * @author       zjs
 */
#ifndef _KEY_H_
#define _KEY_H_

#include "ti_msp_dl_config.h"

#define KEY_PORT GPIO_KEYS_PORT
#define KEY_H1_PIN GPIO_KEYS_H1_PIN
#define KEY_H2_PIN GPIO_KEYS_H2_PIN
#define KEY_H3_PIN GPIO_KEYS_H3_PIN
#define KEY_H4_PIN GPIO_KEYS_H4_PIN
#define KEY_V1_PIN GPIO_KEYS_V1_PIN
#define KEY_V2_PIN GPIO_KEYS_V2_PIN
#define KEY_V3_PIN GPIO_KEYS_V3_PIN
#define KEY_V4_PIN GPIO_KEYS_V4_PIN

/* 获取矩阵键盘键值 */
int getKeyValue(void);

#endif